package com.qumitech.visualnovel.service.associate;


import com.alibaba.fastjson.JSONObject;
import com.qumitech.visualnovel.pubdef.dto.associate.AssociateAccountDTO;
import org.springframework.stereotype.Service;

import java.util.HashMap;
import java.util.List;

@Service
public interface AssociateAccountService {

    JSONObject registerRank(String startTime, String endTime);
    JSONObject loginRank(String startTime, String endTime);
    JSONObject payRank(String startTime, String endTime);





    List<AssociateAccountDTO> listAccountByDimension(String dimension, String dimensionValue, String startTime, String endTime,String orderType, String orderBy, Integer offset,Integer limit);
    int countAccountByDimension(String dimension, String dimensionValue, String startTime, String endTime);

    List<HashMap<String,String>> listRankByDimension(String dimension, String startTime, String endTime, String orderType, String orderBy, Integer offset, Integer limit);
    int countRankByDimension(String dimension, String startTime, String endTime);




}
